package com.wy.springbootblog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wy.springbootblog.pojo.Result;
import com.wy.springbootblog.pojo.SearchBean;
import com.wy.springbootblog.pojo.Tag;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author work
 */
@Service
public interface TagService extends IService<Tag> {
    public Result<Void> saveTag(Tag tag);

    public Result<Void>  deleteTag(Integer id);

    Result<List<Tag>> tagList(SearchBean<Tag> searchBean);

    Result<Void> updateTag(Tag tag);
}
